package com.ruoyi.quartz.mapper;

import com.ruoyi.quartz.domain.SysJobLog;
import com.ruoyi.quartz.domain.TempTestStatus;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 调度任务日志信息 数据层
 * 
 * @author ruoyi
 */
public interface SysstatusMapper {

    Integer selectByIp(String ipaddress);

    boolean insertbyip(TempTestStatus tempTestStatus);

    int updateSuccessByIp(@Param("ip") String ip,@Param("success") Integer success);


    boolean updatemachineinfo(TempTestStatus tempTestStatus);

    int updateMachineStatusByLastUpdateTime(@Param("ip") String ip);
}
